home *** CD-ROM | disk | FTP | other *** search
-
- // Generated by Interface Builder
- // Modified by Eric Tremblay May 16, 1992
- // Revised on January 24, 1993
-
- #import <appkit/appkit.h>
-
- @interface Amort:Object
-
- //Instance Variables
- {
-
- id AmortWindow; // The Amortize Window
- id AmortDisplay; // The main output ScrollView
- id Years; // The input field for Years in the Term box
- id Months; // The input field for Months in the Term box
- id Payment; // The output Monthly payment field
- id Principal; // The input field for Principal
- id InterestPayed;// The output field for Total interest charged
- id TotalCost; // The output field for Total cost of loan
- id InterestRate; // The input field for Interest rate %
- id document; // The document in the ScrollView
- int mbeg; // Input for the beginning month
- int sysMonth, sysYear;
- char *filename;
-
- }
-
- // Action Methods
-
- - awakeFromNib; // System call
-
- - Calc:sender; // This calc's the info and prints it to the screen
-
- - setFileName:(const char *)aFilename;
- - SaveAs:sender;
- - SaveFile:sender; // This generates an Amortization table to a file
-
-
- - appendText:sender; // Appends text at the end of the scrollView
- - PrintTable:sender; // Print the AmortDisplay on the printer
-
- - January:sender; // Used to assign a number to mbeg (Starting month)
- - February:sender;
- - March:sender;
- - April:sender;
- - May:sender;
- - June:sender;
- - July:sender;
- - August:sender;
- - September:sender;
- - October:sender;
- - November:sender;
- - December:sender;
-
- @end
-